package com.example.logindb.entity;

import jakarta.persistence.*;
import lombok.*;
import org.locationtech.jts.geom.LineString;
import org.springframework.validation.annotation.Validated;

import java.sql.Date;


@Entity
@Table(name = "activitiesb")
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Validated
public class Route {

    @Id
    @Column(name = "id")
    private int id;

    @Column(name = "blind_id")
    private int blindid;

//    @Column(name = "route")
//    private LineString blind_route;

    @Column(name = "start_time")
    private Date blind_start_time;

    @Column(name = "geojson")
    private String geojson;


}
